<div class="cargos index">
<h2><?php echo('Cargos'); ?></h2>
<table>

<td align="right"><span class="lbutton"><?php echo $this->Html->link( "Nuevo
",   array('action'=>'add') ); ?></span></td>
	</table>
<table cellpadding="0" cellspacing="0">
	<tr>
	   <th>ID</th>
		<th>Descripcion</th>
		<th>estado</th>
		
		<th>Accion</th>
		
	</tr>
	

	<?php foreach($cargos as $cargo):?>
	<tr>

		<td><?php echo $cargo['Cargo']['id']?></td>
			<td><?php echo $cargo['Cargo']['descripcion']?></td>
					<td><?php echo $cargo['Cargo']['estado']?></td>
		
		<td class="actions">
			<?php echo $this->Html->link(__('Ver'), array('action' => 'view', $cargo['Cargo']['id']), array('class'=>'view')); ?>
			<?php echo $this->Html->link(__('Editar'), array('action' => 'edit',$cargo['Cargo']['id']), array('class'=>'edit')); ?>
			<?php echo $this->Form->postLink(__('Eliminar'), array('action' => 'delete', $cargo['Cargo']['id']), array('class'=>'delete'), __('Desea Eliminar?')); ?>
			</td>
	</tr>
<?php endforeach?>	
	</table>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('anterior'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('siguiente') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
	</div>
	
	

